
package com.android.formula.model;

import java.io.Serializable;

import com.android.formula.dao.Column;
import com.android.formula.dao.Table;
import com.android.formula.utils.Constants;

@Table(name = Constants.DB_TB_SUBJECT)
public class Subject implements Serializable{
    private static final long serialVersionUID = 1L;

    @Column(name = Constants.TABLE_SUBJECT_COL_SUBJECTID, type = Constants.DB_TYPE_INTEGER, isPrimaryKey = true)
    private int subjectId;

    @Column(name = Constants.TABLE_SUBJECT_COL_SUBJECTNAME, type = Constants.DB_TYPE_TEXT)
    private String subjectName;

    @Column(name = Constants.TABLE_SUBJECT_COL_LANGUAGEID, type = Constants.DB_TYPE_INTEGER)
    private int languageId;

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public int getLanguageId() {
        return languageId;
    }

    public void setLanguageId(int languageId) {
        this.languageId = languageId;
    }

}
